<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>错误页面</title>
    <style>
        body { font-family: Arial, sans-serif; padding: 40px; text-align: center; }
        .error-container { max-width: 600px; margin: 0 auto; }
        .error-message { color: #e74c3c; margin: 20px 0; }
    </style>
</head>
<body>
    <div class="error-container">
        <h1>系统错误</h1>
        <div class="error-message">
            <%= request.getParameter("message") != null ?
                request.getParameter("message") : "发生未知错误" %>
        </div>
        <a href="nanny-dashboard">返回资料管理</a>
    </div>
</body>
</html>